<script setup lang="ts">
const { t } = useI18n();
const router = useRouter();
const back = () => router.push('/');
</script>

<template>
  <div>
    {{ t('hello') }} {{ $t('about') }} 这是一个页面
    <button @click="back">👉 Go Home</button>
  </div>
</template>

<route lang="yml">
meta:
  layout: blank
</route>

<i18n>
{
  "en": {
    "language": "Language",
    "hello": "hello, world-other!"
  },
  "zh-CN": {
    "language": "言语",
    "hello": "你好，世界-other！"
  }
}
</i18n>
